package zju.ccnt.rest.repository;

import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;
import zju.ccnt.rest.domain.ResourceClass;

/**
 * Created by zha on 14/11/19.
 */
@Repository
public interface ResourceClassRepository extends PagingAndSortingRepository<ResourceClass, String> {
    public ResourceClass findByBusinessIdAndName(String businessId, String name);
}
